body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #f0f0f0;
    border-bottom: 1px solid #ddd;
}

.header .time {
    font-size: 18px;
}

.header .icons .icon {
    margin-left: 10px;
}

.navbar {
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.navbar .nav-item {
    font-size: 16px;
    color: #666;
}

.navbar .nav-item.active {
    color: green;
    border-bottom: 2px solid green;
}

.search-bar {
    padding: 10px;
    text-align: center;
    background-color: #f9f9f9;
}

.search-bar input {
    width: 80%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
}

.content {
    padding: 10px;
}

.section {
    margin-bottom: 20px;
}
.content .section1{
    display: flex;
    justify-content: center;
    align-items: center;
}

.section .card {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.section1 .card1 img {
    width: 250px;
    height: 200px;
    margin-right: 10px;
    border-radius: 10px;
}

.section1 .card1 p{
    font-size: 2.7vw;
    margin-top: -0.2vw;
    margin-left: 2vw;
}
.section1 .card2 p{
    font-size: 2.7vw;
    margin-top: -0.2vw;
    margin-left: 2vw;
}
.section1 .card2 img{
    width: 200px;
    height: 200px;
    margin-top: 0.5vw;
    border-radius: 10px;
}

.section .card3 img{
    width: 85px;
    height: 85px;
    border-radius: 10px;

}
.section .card3 p{
    margin-left: 2vw;
    font-size: 3vw;
}

.section .card3 .p1{
    margin-left: 2vw;
    font-size: 3vw;
}

.section .card3 .p2{
    margin-left: 2vw;
    font-size: 2.5vw;
    margin-top: -2.5vw;
    color: #666666;
}

.section h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
/*设置爱心*/
.card3 {
    display: flex;
    align-items: center;
    position: relative; /* 设置为相对定位 */
    margin-bottom: 10px;
    margin-right: 4vw;
    padding-right: 20px; /* 根据需要调整 */
}

.card3::after {
    content: '♥'; /* 使用Unicode字符表示爱心 */
    position: absolute; /* 设置为绝对定位 */
    right: 0; /* 将伪元素定位到容器的右侧 */
    /* 你可以添加一些样式来美化伪元素，比如字体大小、颜色等 */
    font-size: 25px; /* 根据需要调整字体大小 */
    color: red; /* 设置爱心的颜色 */
}

/* 最后一个.card3不需要margin-bottom */
.section .card3:last-child {
    margin-bottom: 0;
}



.footer {
    display: flex;
    justify-content: space-around;
    background-color: #fff;
    padding: 10px 0;
    border-top: 1px solid #ddd;
    position: fixed;
    width: 100%;
    bottom: 0;
}

.footer .footer-item {
    font-size: 16px;
}
.footer .icon{
    font-size: 24px;
    margin-left: 0.5vw;
}
.footer a{
    text-decoration: none; /* 移除下划线 */
    color: inherit; /* 继承父元素的颜色，或者指定为你想要的颜色 */
    /* 你可以添加更多的样式来确保<a>标签看起来和普通文本或元素一样 */
}
